package com.quanyan.travel.mapper;

import com.quanyan.travel.entity.TbOutdoorActivityDestination;
import com.quanyan.travel.entity.TbOutdoorActivityDestinationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbOutdoorActivityDestinationMapper {
    int countByExample(TbOutdoorActivityDestinationExample example);

    int deleteByExample(TbOutdoorActivityDestinationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbOutdoorActivityDestination record);

    int insertSelective(TbOutdoorActivityDestination record);

    List<TbOutdoorActivityDestination> selectByExample(TbOutdoorActivityDestinationExample example);

    TbOutdoorActivityDestination selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbOutdoorActivityDestination record, @Param("example") TbOutdoorActivityDestinationExample example);

    int updateByExample(@Param("record") TbOutdoorActivityDestination record, @Param("example") TbOutdoorActivityDestinationExample example);

    int updateByPrimaryKeySelective(TbOutdoorActivityDestination record);

    int updateByPrimaryKey(TbOutdoorActivityDestination record);
}